package com.benyi.byiee.dao.mappers;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.benyi.byiee.model.db.EnterpriseInfo;

public interface EnterpriseInfoMapper {
    int deleteByPrimaryKey(Long rid);

    int insert(EnterpriseInfo record);

    int insertSelective(EnterpriseInfo record);

    EnterpriseInfo selectByPrimaryKey(Long rid);

    int updateByPrimaryKeySelective(EnterpriseInfo record); 
    int updateByPrimaryKey(EnterpriseInfo record); 
    
    int countByKeys(@Param("keys")String []keys);
    List<EnterpriseInfo> queryByKeys(@Param("keys")String []keys,@Param("fromRow")int from,@Param("pageLen")int pageLen);
    
    int updateUuid(EnterpriseInfo record); 
    EnterpriseInfo selectByUuid(String uuid);  
    int updateByUuid(EnterpriseInfo record);
    int updateByUuidSelective(EnterpriseInfo record); 
    int freshTime(EnterpriseInfo record);
    
    EnterpriseInfo selectByUserId(long userId); 
    
}